package cn.melonlib.authentication.model.entity;

import cn.melonlib.cores.commons.model.entity.StringIdEntity;
import cn.melonlib.cores.model.anno.ModelComment;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.lang.annotation.Target;

@Data
@EqualsAndHashCode(callSuper = true)
@Entity(name = "HttpAccount")
@Table(name = "http_account")
@ModelComment("http登陆账户")
public class HttpAccount extends StringIdEntity {

    @ModelComment("http登陆名")
    private String loginName;

    @ModelComment("http密码")
    private String password;
}
